Skip to main content
Version: 1.0.2

Update Account

The Update Account API notifies the subscriber with account details when the status of an account is updated by the subscriber.

The response for this callback notification from the subscriber should be 200 for a successfull delivery of notification. If the response is other than 200, it is meant as failed status of notification. Hence, the notification is sent for ‘n’ number of times till getting the response as 200. If still the response is not 200, the subscription for this event will be cancelled.

Example

Payload Parameters
ParameterDescription

source

Mandatory

String

Source or origin of the transaction

Constant value: "PL"

eventId

Mandatory

String

Identifier for the event associated with the transaction

Sample value: "EVT1358242"

eventName

Mandatory

String

Name of the event

Constant value: "Account.UPDATE"

Payload

Mandatory

Object

id

String

Unique ID of the newly created account

Sample value: "1356001"

name 

String

Type of account that was newly created

Sample value: "General Account"

number

String

Account number assigned for the new account

Sample value: "200851030137182"

createdDate

String

Date and time of the account was created

Sample value: "2023-11-06T10:09:44.574Z"

updatedDate

String

Date and time of the account was last updated

Sample value: "2023-11-06T10:09:44.574Z"

balance

Number

Current balance of the newly created account

Sample value: 0

customerID

String

Customer ID assigned to the account

Sample value: "100000000018002"

customerName

String

Name of the customer associated with the account

Sample value: "Ravi Test18"

accountType

String

Type of the new account

Sample value: "WALLET"

currency

String

Currency in which the transactions are carried out in the account

Sample value: "USD"

currencyCode

String

Currency code of the currency associated with account transactions

Sample value: "048"

status

String

Current status of the account

Sample value: "DORMANT"

program

String

Product to which the account is associated

Sample value: "PL"

accountLevel

String

Level of service associated with the account

Sample value: "WPS"

signature

String

Signature for request validation

Sample value: "signature"

Body


{
"source": "PL",
"eventId": "EVT1358242",
"eventName": "Account.UPDATE",
"payload": {
"id": "1356001",
"name": "General Account",
"number": "200851030137182",
"createdDate": "2023-11-06T10:09:44.574Z",
"updatedDate": "2023-11-06T10:09:44.574Z",
"balance": 0,
"customerID": "100000000018002",
"customerName": "Ravi Test18",
"accountType": "WALLET",
"currency": "USD",
"currencyCode": "048",
"status": "DORMANT",
"program": "PL",
"accountLevel": "WPS"
},
"signature": "{{Signature}}"
}

Response: 200


{
//The response for this callback notification from the subscriber should be 200 for a successfull delivery of notification. If the response is other than 200, it is meant as failed status of notification. Hence, the notification is sent for ‘n’ number of times till getting the response as 200. If still the response is not 200, the subscription for this event will be cancelled.
}